/*
 * mmap.h
 *
 *  Created on: 29/set/2014
 *      Author: root
 */

#ifndef MMAP_H_
#define MMAP_H_

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <ctype.h>
#include <unistd.h>

void *mapFullFileShared(char *, int*);
int isAuthorizedInSecretsFile(char *, int, char*, char *);
void closeMappedFile(void *, int *);
int isLocalUser(char *, int, char *);
int getMBoxListSize(char *, int);
char **getUsers(char *, int);
#endif /* MMAP_H_ */
